﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMp.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="WebApplication5.Admin.WebForm2" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   

   
   

   
   

   
   

    <asp:DataList ID="DataList1" runat="server">
        <ItemTemplate>
                        <table >
							<tr >
                                <td style="width:300px"><%# Eval("idlist") %></td>
                                <td style="width:300px"><%# Eval("tenlist") %></td>
                                <td></td>
                                <td class="action" style="width:300px">
                                    <asp:LinkButton ID="LinkButtondelete" runat="server" OnClientClick="return confirm('Are You Sure??')" OnClick="LinkButtondelete_click" Font-Bold="true" CssClass="co" >Delete</asp:LinkButton>
                                    <asp:HiddenField ID="HiddenFieldidlist" runat="server" Value='<%# Eval("idlist") %>' />
                                </td>
                            </tr>                        
							                
                        </table>
         
                

          
        </ItemTemplate>
   </asp:DataList>

 <br />
    
   
         <asp:button id="buttoninsert" runat="server" text="insert" onclick="buttoninsert_click"/>
         <asp:button id="buttonupdate" runat="server" text="Update" onclick="edit_click"/>
         &nbsp;<asp:Label ID="Labelmessage" runat="server"></asp:Label>
             
         <br />
         <table style="width: 100%">
             <tr>
                 <td style="width: 144px">id</td>
                 <td>
                     <asp:textbox id="textboxidlist" runat="server"></asp:textbox>
                 </td>
             </tr>
             <tr>
                 <td style="width: 144px">list name</td>
                 <td>
                     <asp:textbox id="textboxtenlist" runat="server"></asp:textbox>
                 </td>
             </tr>
         </table>
             
        
    
  
             
    
    
</asp:Content>
